package com.test.mytest.swt.date;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateBean {
	static SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss:SSS");
	private int week;
	private Date date;
	private int day;
	private boolean isNowMonth=false;
	
	public int getWeek() {
		return week;
	}
	public void setWeek(int week) {
		this.week = week;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	
	@Override
	public String toString() {
		return week+"==="+sdf.format(date);
	}
	public int getDay() {
		return day;
	}
	public void setDay(int day) {
		this.day = day;
	}
	public boolean isNowMonth() {
		return isNowMonth;
	}
	public void setNowMonth(boolean isNowMonth) {
		this.isNowMonth = isNowMonth;
	}
}
